TARGETS=discid.html index.html discid.pdf discid.txt

target : $(TARGETS)

upload : $(TARGETS)
	scp index.html sro@shell.sourceforge.net:/home/groups/d/di/discid/htdocs

discid.html : discid.sgml
	docbook2html -u discid.sgml

discid.pdf : discid.sgml
	docbook2pdf discid.sgml

discid.txt : discid.sgml
	docbook2txt discid.sgml
	cp discid.txt ../README

index.html : discid.html
	sed -f sourceforge.sed $< > $@
